package com.atnjupt.springbootquickstart;
import com.atnjupt.springbootquickstart.controller.HelloController;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringbootquickstartApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SpringbootquickstartApplication.class, args);
        Hello bean = run.getBean(Hello.class);
        System.out.println(bean);
        HelloController bean1 = run.getBean(HelloController.class);
        System.out.println(bean1);
    }



}
